<?php

/**
 * 日期中文数字转换
 * @author cahokai@gz-zc.cn
 */
$config = array(
                'date' => array(
                                '正' => 1,
                                '腊' => 12,
                                '冬' => 11,
                                '一' => 1,
                                '二' => 2,
                                '三' => 3,
                                '四' => 4,
                                '五' => 5,
                                '六' => 6,
                                '七' => 7,
                                '八' => 8,
                                '九' => 9,
                                '十' => 10,
                                '十一' => 11,
                                '十二' => 12,
                                '闰一' => 1,
                                '闰二' => 2,
                                '闰三' => 3,
                                '闰四' => 4,
                                '闰五' => 5,
                                '闰六' => 6,
                                '闰七' => 7,
                                '闰八' => 8,
                                '闰九' => 9,
                                '闰十' => 10,
                                '闰十一' => 11,
                                '闰十二' => 12,
                                '十三' => 13,
                                '十四' => 14,
                                '十五' => 15,
                                '十六' => 16,
                                '十七' => 17,
                                '十八' => 18,
                                '十九' => 19,
                                '廿十' => 20,
                                '廿一' => 21,
                                '廿二' => 22,
                                '廿三' => 23,
                                '廿四' => 24,
                                '廿五' => 25,
                                '廿六' => 26,
                                '廿七' => 27,
                                '廿八' => 28,
                                '廿九' => 29,
                                '卅十' => 30,
                                '卅十一' => 31,
                                '初一' => 1,
                                '初二' => 2,
                                '初三' => 3,
                                '初四' => 4,
                                '初五' => 5,
                                '初六' => 6,
                                '初七' => 7,
                                '初八' => 8,
                                '初九' => 9,
                                '初十' => 10,
                )
);